package com.sh.data.engine.domain.workspace.manager.model.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
public class UserYunQiaoDomain {

    /**
     * 用户id
     */
    private String id;

    /**
     * 账号
     */
    private String userName;

    /**
     * 显示名
     */
    private String displayName;

    /**
     * 邮箱
     */
    private List<Map<String, String>> emails;


    private UserMeta meta;

    /**
     * 激活状态
     */
    private boolean active;

    /**
     * 删除状态
     */
    private boolean deleted;

    /**
     * 手机号
     */
    private List<Map<String, String>> phoneNumbers;

    /**
     * 用户组
     */
    private List<String> groups;

}
